<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>continue循环控制</title>
</head>
<body>
<script>
    var i=1;

    while(i<10){
        i=i+1;
        if(i==5){
            continue;//跳出本次循环
        }
        println('当前遍历数：'+i);
    }

    function println(){
        document.write(a+'<br/>');
    }
</script>
</body>
</html>